<template>
  <el-tabs v-model="activeName" class="el-main">
    <el-tab-pane label="住址" name="addr">
      <address-group />
    </el-tab-pane>
    <el-tab-pane label="部门" name="dept">
      <dept-group />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import deptGroup from './deptGroup'
import addressGroup from './addressGroup'
export default {
  name: 'Index',
  components: {
    deptGroup,
    addressGroup
  },
  data() {
    return {
      activeName: 'addr'
    }
  }
}
</script>

<style>

</style>
